/*
body{background: #EBEBEB}
*/
.main{
    margin-top:55px;
    margin-bottom: 55px;
}
.lf{float: left}
.rf{float: right}
.navbar{
    width:100%;
    background: #fff;
    padding: 10px;
    position: fixed;
    top:0;
    z-index: 10;
    border-bottom: 1px solid #E2E2E2;
}
.search{
    display: block;
    padding: 0 36px;
    margin-bottom: 5px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #B5B5B5;
    border-radius: 4px;
    background: #EBEBEB url(../images/home-searchbar-icon.png) no-repeat 9px center;
    background-size: 18px;
}
.sub_navbar a{
    color: #333;
    display: block;
    padding: 5px 0;
}
.navbar .sub_navbar .switch.active  a{
    border-bottom: 2px solid #ed4848;
}

.sub_navbar .swiper-slide {
    width:auto !important;
    text-align: center;
    margin-right: 7px;
}
.swiper_img{
    min-height: 100px;
    padding:0 0px;
    background: #fff;
}
.swiper_img a{
    width:100%;
    height:180px;
    min-height: 100px;
}
.swiper_img a img{
    display: inline-block;
    width:100%;
    height:180px;
}
.swiper_img .fbg{
    width:100%;
    height:7px;
    /*
    background: #EBEBEB;
    */
    margin-top: -4px;
}

.day{
    overflow: hidden;
}
.day .day_left,.day .day_right{
    width:50%;
}
.day .day_left img,.day .day_right img{
    display: block;
    width:100%;
    height:74px;
}
.content{
    padding: 7px 10px 0;
    /*
    background: #EBEBEB;
    */
}
.bg_img{
    display: block;
    width:100%;
}
.bg_img img{
    width:100%;
    height:180px;
}
.content .product {
    padding-bottom: 10px;
    background: #FFFFFF;
    margin-bottom: 10px;
}
.content .product .look{
    margin-top: 6px;
    overflow: hidden;
}
.content .product .look h3 {
    line-height: 22px;
    overflow: hidden;
    margin-bottom: 5px;
}
.content .product .look h3 a {
    color: #333;
}
.content .product .look p {
    display: block;
    margin: 0;
    padding: 0;
}
.content .product .look span.badge {
    margin: 0;
    display: inline-block;
    padding: 0 8px;
    height: 20px;
    line-height: 20px;
    background: red;
    color: #FFFFFF;
    font-size: 12px;
    vertical-align: middle;
}
.content .product .look strong.index-price {
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    font-weight: normal;
    line-height: 20px;
    font-size: 18px;
    color: red;
}
.top-img {
    padding: 0px;
    margin: 0 0 10px 0;
    width: 100%;
}
.top-img img {
    width: 100%;
}
.top-img .top-sub {
    margin-top: 5px;
    padding: 0 10px;
    width: 100%;
    overflow: hidden;
}
.top-img .top-sub .sub-text {
    width: calc(100% - 80px);
}
.top-img .top-sub .sub-text h3 {
    height: 20px;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 20px;
    font-size: 14px;
    font-weight: normal;
    color: #333;
}
.top-img .top-sub .sub-text p {
    height: 20px;
}
.top-img .top-sub .sub-text p img {
    margin-top: 2px;
    width: 16px;
    height: 16px;
}
.top-img .top-sub .sub-price {
    padding-top: 5px;
    width: 70px;
    font-size: 18px;
    color: red;
    text-align: right;
}
.split {
    width: 100%;
    height: 5px;
    padding: 0;
    margin: 0;
    background: #efefef;
}
.related {
    position: relative;
    margin-bottom: 38px;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #efefef;
}
.related .rel-head {
    position: relative;
    margin: 10px;
    height: 25px;
}
.related .rel-head .rel-line {
    width: 100%;
    height: 12px;
    border-bottom: 1px solid #cccccc;
    position: absolute;
    top: 0;
}
.related .rel-title {
    height: 20px;
    position: absolute;
    width: 100%;
}
.related .rel-title span {
    width: 80px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    padding: 0 10px;
    display: block;
    margin: 0 auto;
    z-index: 100;
    background: #efefef;
    color: #aaaaaa;

}
.related ul.rel-body {
    margin: 10px;
    overflow: hidden;
    background: #FFFFFF;
}
.related ul.rel-body li.rel-item {
    width: calc(50% - 5px);
    float: left;
    height: 260px;
}
.related ul.rel-body li.rel-item:nth-of-type(odd) {
    margin-right: 5px;
}
.related ul.rel-body li.rel-item:nth-of-type(even) {
    margin-left: 5px;
}
.related ul.rel-body li.rel-item div.item-body {
    width: 100%;
}
.related ul.rel-body li.rel-item div.item-body a.thumb {
    width: 100%;
    height: 170px;
    display: block;
}
.related ul.rel-body li.rel-item div.item-body a.thumb img {
    width: 100%;
    height: 100%;

}
.related ul.rel-body li.rel-item div.item-body a.title {
    display: block;
    margin: 5px;
    font-size: 12px;
    height: 40px;
    line-height: 18px;
    color: #333;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding-bottom: 5px;
    border-bottom: 1px solid #efefef;
}
.related ul.rel-body li.rel-item div.item-body p.badge span {
    display: block;
    padding: 0 5px;
    background: red;
    color: #FFFFFF;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}
.related ul.rel-body li.rel-item div.item-body p.badge strong {
    padding-right: 5px;
    color: red;
    font-weight: normal;
}
.buy{
    overflow: hidden;
    position: fixed;
    z-index: 1;
    bottom: 0;
    width:100%;
    height: 55px;
    background: #FFFFFF;
}
.buy .left-slide {
    float: left;
    width: 50%;
    height: 55px;
}
.buy .left-slide .buy-share {
    width: 50%;
    height: 55px;
    float: left;
    background: url("../images/share.png")  48% 8px no-repeat;
    -webkit-background-size: 35%;
    background-size: 35%;
}
.buy .left-slide .buy-car {
    width: calc(50% - 1px);
    height: 55px;
    float: right;
    border-left: 1px solid #efefef;
    background: url("../images/basket.png")  48% 8px no-repeat;
    -webkit-background-size: 35%;
    background-size: 35%;
}
.buy .left-slide .buy-share p.head,
.buy .left-slide .buy-car p.head {
    display: block;
    position: relative;
    height: 35px;
    padding: 0;
    margin: 0;
}
.buy .left-slide .buy-car p.head span{
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: 4px;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
    color: #FFFFFF;
    background: rgba(255, 0, 0, 0.6);
    -webkit-border-radius: 7px;
    padding: 0 5px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
.buy .left-slide .buy-share p.foot,
.buy .left-slide .buy-car p.foot {
    height: 19px;
    line-height: 19px;
    text-align: center;
    font-size: 12px;
    color: #707070;
}
.buy .right-slide {
    width: 50%;
    height: 55px;
    float: right;
}
.buy .right-slide a {
    width:100%;
    height: 100%;
    display: block;
    line-height: 55px;
    text-decoration: none;
    font-size: 14px;
    background: #FF3B30;
    color: #fff;
    text-align: center;
}

/*
.buy p,.buy a{
    display: block;
    float: left;
}
.buy p{
    background: #fff;
    padding-left: 10px;
    border-top: 1px solid #EEEEEE;
    font:14px "Microsoft yahei",Arial;
    height:55px;
    line-height: 40px;
    width: 50%;
}
.buy p span{
    color: #DD0707;
}
.buy a{
    float: right;
    width:50%;
    background: #FF3B30;
    color: #fff;
    text-align: center;
}
.empty{
    display: none;
    margin-top: 55px;

}
.empty img{
    display: block;
    width:120px;
    height:120px;
    margin: 20px auto;
}
.empty p{
    text-align: center;
}
.sle{
    height:30px;
    line-height: 30px;
    font-size: 12px;
    color: #969696;
}
.empty a{
    display: block;
    width:115px;
    height:30px;
    line-height: 28px;
    background: #FDE3E3;
    color: #ED3036;
    border:1px solid #ED3036;
    text-align: center;
    margin:10px auto;
    border-radius: 5px;
}
*/